home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1998 August / PC Plus SuperCD 50a Issue 142 (CD142a) (August 1998).iso / handson / supercede / Knowodys / Projects / mq_projects.exe / MindQ_Projects / Syntax / Hello / hoeHello.txt next >
Encoding:
Text File  |  1997-08-13  |  951 b   |  24 lines

  1. Launch a Java development environment from your desktop 
  2. or select it from the task bar if it is already running. 
  3. Then follow the instructions below.  
  4.  
  5. Step 1:  Write a Java application that prints the string 
  6. "Hello World" to the standard output. Be sure to include 
  7. comments detailing the date, your name, and the purpose of 
  8. the application. Call this application source file 
  9. HelloApplication.java.
  10.   
  11. Step 2:  Compile this file using javac, and run the 
  12. resulting HelloApplication.class file using the java 
  13. command.
  14.  
  15. Step 3:  Write a Java applet that will print the string 
  16. "Hello World" to an applet window. Just as with the 
  17. application, be sure to include clear comments. Call this 
  18. applet source file HelloApplet.java.
  19.  
  20. Step 4:  Compile this file and write HTML code that will 
  21. embed the applet in a web browser or appletviewer.
  22.  
  23. Step 5:  Load the HTML file into a web browser or 
  24. appletviewer to see the applet run.